{include file="public/header" /}





<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3>{$Think.lang.refund_manage}</h3>
            </div>
            {include file="public/admin_items" /}
        </div>
    </div>
    
    <div class="explanation" id="explanation">
        <div class="title" id="checkZoom">
            <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
            <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
        </div>
        <ul>
            <li>{$Think.lang.refund_reason_help1}</li>
            <li>{$Think.lang.refund_reason_help2}</li>
        </ul>
    </div>


    <table class="ds-default-table">
        <thead>
            <tr class="thead">
                <th>{$Think.lang.ds_sort}</th>
                <th>{$Think.lang.refund_buyer_message}</th>
                <th class="align-center">{$Think.lang.ds_handle}</th>
            </tr>
        </thead>
        <tbody>
            {notempty name="reason_list"}
            {foreach name="reason_list" item="val" key="key" }
            <tr class="hover" id="ds_row_{$val.reason_id}">
                <td class="w48 sort">{$val.reason_sort}</td>
                <td>{$val.reason_info}</td>
                <td class="w150 align-center">
                    <a href="javascript:dsLayerOpen('{:url('Refund/edit_reason',['reason_id'=>$val.reason_id])}','{$Think.lang.ds_edit}-{$val.reason_info}')" class="dsui-btn-edit"><i class="iconfont"></i>{$Think.lang.ds_edit}</a>
                    <a href="javascript:dsLayerConfirm('{:url('Refund/del_reason',['reason_id'=>$val.reason_id])}','{$Think.lang.ds_ensure_del}',{$val.reason_id})" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
                </td>
            </tr>
            {/foreach}
            {else /}
            <tr class="no_data">
                <td colspan="15">{$Think.lang.ds_no_record}</td>
            </tr>
            {/notempty}
        </tbody>   
        
    </table>
    {$show_page|raw}
</div>